{# Rendered with \Sylius\Bundle\ShopBundle\Twig\Component\Account\ChangePassword\FormComponent #}

{% import '@SyliusShop/shared/macro/loader.html.twig' as loader %}

{% form_theme form '@SyliusShop/form/theme.html.twig' %}

<div {{ attributes }} class="mb-4 position-relative">
    {{ loader.render() }}
    {{ form_start(form, {'action': path('sylius_shop_account_change_password'), 'attr': {'novalidate': 'novalidate'}}) }}

    {% hook 'form' with { form } %}

    {{ form_row(form._token) }}
    {{ form_end(form, {'render_rest': false}) }}
</div>
